package kz.kstu.scantest.facade.ejb.impl;

import kz.kstu.scantest.business.entity.test.Test;
import kz.kstu.scantest.business.server.api.TestService;
import kz.kstu.scantest.facade.ejb.api.TestFacade;

import javax.ejb.Stateless;
import java.util.Collection;

/**
 * @author Filipp_Stankevich
 *         created: 13.09.11 22:10
 */
@Stateless
public class TestFacadeBean extends AbstractFacadeBean implements TestFacade {

    public void saveTests(Collection<Test> tests) {
        getService(TestService.class).saveTests(tests);
    }
}
